<?php 

class blockfirstmodule extends Module {

	function __construct()
	{
        $this->name = "blockfirstmodule";
        $this->tab = 'Tab Name';
        $this->version = '0.1.0';
        parent::__construct();
        $this->displayName = $this->l('Our First PS Module');
        $this->description = $this->l('We have created a simple PS Module.');
	}
	
	function install()
	{
       if (!parent::install()
           OR !$this->registerHook('rightColumn')
           OR !$this->registerHook('leftColumn'))
                return false;
        return true;	
	}
	
	public function hookLeftColumn($params)	
	{
		echo "Hello World!";
	}
	
    public function hookRightColumn($params)
    {
        return $this->hookLeftColumn($params);
    }
	
	function uninstal()
	{
		if (!parent::uninstall())
			return false;
		return true;
	}

}
?>